package com.ruoyi.vehicle.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 围栏列对象 tb_rail
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TbRail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 围栏ID */
    private Long railId;

    /** 城市 */
    @Excel(name = "城市")
    private String cityName;

    /** 围栏名称 */
    @Excel(name = "围栏名称")
    private String railName;

    /** 围栏有效期 */
    @Excel(name = "围栏有效期")
    private String validityRail;

    /** 状态;0：启用；1：停用； */
    @Excel(name = "状态;0：启用；1：停用；")
    private Long status;

    public void setRailId(Long railId) 
    {
        this.railId = railId;
    }

    public Long getRailId() 
    {
        return railId;
    }

    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }

    public void setRailName(String railName) 
    {
        this.railName = railName;
    }

    public String getRailName() 
    {
        return railName;
    }

    public void setValidityRail(String validityRail) 
    {
        this.validityRail = validityRail;
    }

    public String getValidityRail() 
    {
        return validityRail;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("railId", getRailId())
            .append("cityName", getCityName())
            .append("railName", getRailName())
            .append("validityRail", getValidityRail())
            .append("status", getStatus())
            .toString();
    }
}
